<?php

namespace app\common\model;

class UserInfo extends  BaseModel
{
    protected $name = 'user_info';

    /**
     * 获取用户信息
     * @param $where
     * @param $with
     * @return null|static
     * @throws \think\exception\DbException
     */
    public static function detail($id)
    {
        return static::get($id);
    }
}